package itsm.isperp.framework.web.formatter;

import java.util.Date;

import org.springframework.beans.PropertyEditorRegistrar;
import org.springframework.beans.PropertyEditorRegistry;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2015-2-16
 * @since 1.0
 * 
 */
public class DateEditorRegistrar implements PropertyEditorRegistrar {

	@Override
	public void registerCustomEditors(PropertyEditorRegistry registry) {
		registry.registerCustomEditor(Date.class, new DateEditor());
	}

}
